<?php
/**
 * Created by PhpStorm.
 * User: liangtiehui
 * Date: 2016/1/11
 * Time: 21:04
 */

namespace Factory;

/**
 * 具体工厂角色A
 * Class ConcreteCreatorA
 * @package Factory
 */
class ConcreteCreatorA implements Creator
{
    /**
     * 工厂方法 返回具体 产品A
     */
    public function factoryMethod()
    {
        return new ConcreteProductA();
    }
}